package com.zhixiang.xaec.service.safebase.relatedparty.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.zhixiang.core.dao.BaseDao;
import com.zhixiang.core.service.impl.BaseServiceImpl;
import com.zhixiang.xaec.dao.safebase.relatedparty.SceneTaskManageDao;
import com.zhixiang.xaec.entity.safebase.relatedparty.SceneTaskManage;
import com.zhixiang.xaec.service.safebase.relatedparty.SceneTaskManageService;

@Service
public class SceneTaskManageServiceImpl extends BaseServiceImpl<SceneTaskManage, Long> implements SceneTaskManageService{

	@Override
	public String delete(String[] ids) {
		try {
			for(String id:ids){
				getDao().remove(Long.valueOf(id));
			}
		} catch (Exception e) {
			e.getMessage();
		}
		return null;
	}

	@Override
	@Resource(type=SceneTaskManageDao.class)
	public void setBaseDao(BaseDao<SceneTaskManage, Long> dao) {
		
		setDao(dao);
		
	}

}
